<script id="content" type="text/template">
	<button type="button" class="btn btn-default" action-button="recover"><span class="glyphicon glyphicon-ok"></span> 恢复</button>
	<button class="btn btn-warning" type="button" action-button="clear"><span class="glyphicon glyphicon-remove"></span> 删除</button>
	<button class="btn btn-danger" type="button" action-button="clear-all"><span class=" glyphicon glyphicon-remove-sign"></span> 清空回收站</button>
	<hr/>
	<table class="table table-striped">
      <thead>
        <tr>
          <th><input type="checkbox" action-table="checkbox-all"></th>	
          <th>#</th>
          <th>
          	<!--if{http().anchor.query.sort == "order_id_desc"}-->
          	<a href="javascript:;" action-sort="order_id_asc"><span class="glyphicon glyphicon-sort-by-attributes-alt"></span>订单ID</a>
          	<!--elseif{http().anchor.query.sort == "order_id_asc"}-->
          	<a href="javascript:;" action-sort="order_id_desc"><span class="glyphicon glyphicon-sort-by-attributes"></span>订单ID</a>
          	<!--else-->
          	<a href="javascript:;" action-sort="order_id_desc">订单ID</a>
          	<!--/if-->
          </th>
          <th>
          	<!--if{http().anchor.query.sort == "name_desc"}-->
          	<a href="javascript:;" action-sort="name_asc"><span class="glyphicon glyphicon-sort-by-attributes-alt"></span>客户姓名</a>
          	<!--elseif{http().anchor.query.sort == "name_asc"}-->
          	<a href="javascript:;" action-sort="name_desc"><span class="glyphicon glyphicon-sort-by-attributes"></span>客户姓名</a>
          	<!--else-->
          	<a href="javascript:;" action-sort="name_desc">客户姓名</a>
          	<!--/if-->
          </th>
          <th>
          	<!--if{http().anchor.query.sort == "trash_time_desc"}-->
          	<a href="javascript:;" action-sort="trash_time_asc"><span class="glyphicon glyphicon-sort-by-attributes-alt"></span>删除时间</a>
          	<!--elseif{http().anchor.query.sort == "trash_time_asc"}-->
          	<a href="javascript:;" action-sort="trash_time_desc"><span class="glyphicon glyphicon-sort-by-attributes"></span>删除时间</a>
          	<!--else-->
          	<a href="javascript:;" action-sort="trash_time_desc">删除时间</a>
          	<!--/if-->
          </th>
        </tr>
      </thead>
      <tbody>
      	<!--if{response.list.data.length}-->
      	<!--for{var i in response.list.data}-->
      	<tr>
          <th><input type="checkbox" action-table="checkbox" data-id="<!--{response.list.data[i].ss_order_id}-->"></th>
          <td><!--{parseInt(i)+1+((parseInt(response.list.page_now) - 1) * response.list.page_size)}--></td>
          <td><!--{response.list.data[i].ss_order_id}--></td>
          <td><!--{response.list.data[i].ss_order_name}--></td>
          <td><!--{WangAho().date("yyyy/MM/dd HH:mm EEE", parseInt(response.list.data[i].ss_product_trash_time) * 1000)}--></td>
        </tr>
        <!--/for-->
      	<!--else-->
        <tr>
          <td colspan="10" align="center">无数据</td>
        </tr>
        <!--/if-->
      </tbody>
    </table>
    
    
	    
    <!--if{response.list.data.length}-->
	<div class="paging" style="text-align: center;">
		<button class="first btn btn-default <!--if helper{"is_first_page" (response.list.page_now)}-->disabled<!--/if-->" data-page="1" type="button">首页</button>
		<button class="previous btn btn-default <!--if helper{"is_first_page" (response.list.page_now)}-->disabled<!--/if-->" data-page="<!--{parseInt(response.list.page_now) - 1}-->" type="button">上一页</button>
		<button class="btn btn-default" type="button">
			第<!--{response.list.page_now}-->页
			/ 共<!--{response.list.page_count}-->页
			/ 有<!--{response.list.row_count}-->条数据</button>
		<button class="next btn btn-default <!--if helper{"is_end_page" (response.list.page_now, response.list.page_count)}-->disabled<!--/if-->" type="button" data-page="<!--{parseInt(response.list.page_now) + 1}-->">下一页</button>
		<button class="end btn btn-default <!--if helper{"is_end_page" (response.list.page_now, response.list.page_count)}-->disabled<!--/if-->" type="button" data-page="<!--{response.list.page_count}-->">尾页</button>
	</div>
	<!--/if-->
	
	
</script>